import { AxiosPromise } from 'axios';
import { EventAssetsVo, EventAssetsQuery, EventManagerConfigsVo } from './types';
import request from '@/utils/request';

export const getSiteList = (query: EventAssetsQuery): AxiosPromise<EventAssetsVo[]> => {
  return request({
    url: '/oce/site/list',
    method: 'get',
    params: query
  });
};
export const productUrlList = (data): AxiosPromise<EventAssetsVo> => {
  return request({
    url: `/oce/productUrl/list`,
    method: 'get',
    params: data
  })
}